<template>
  <div id="app1">
    <router-view>

    </router-view>
    <tab-bar>
      <tab-bar-item path="home">
        <img slot="item-icon" src="./assets/imgs/icon_svg/home.svg" alt="">
        <img slot="item-icon-active" src="./assets/imgs/icon_svg/home-fill.svg" alt="">
        <div slot="item-text">首页</div>
      </tab-bar-item>
      <tab-bar-item path="category">
        <img slot="item-icon" src="./assets/imgs/icon_svg/home.svg" alt="">
        <img slot="item-icon-active" src="./assets/imgs/icon_svg/home-fill.svg" alt="">
        <div slot="item-text">首页</div>
      </tab-bar-item>
      <tab-bar-item path="cart">
        <img slot="item-icon" src="./assets/imgs/icon_svg/home.svg" alt="">
        <img slot="item-icon-active" src="./assets/imgs/icon_svg/home-fill.svg" alt="">
        <div slot="item-text">首页</div>
      </tab-bar-item>
      <tab-bar-item path="profile">
        <img slot="item-icon" src="./assets/imgs/icon_svg/home.svg" alt="">
        <img slot="item-icon-active" src="./assets/imgs/icon_svg/home-fill.svg" alt="">
        <div slot="item-text">首页</div>
      </tab-bar-item>
    </tab-bar>
  </div>
</template>

<script>
import TabBar from './components/TabBar.vue'
import TabBarItem from './components/TabBarItem.vue'
export default {
  name:"App",
  components:{
    TabBar:TabBar,
    TabBarItem:TabBarItem 
  }
}
</script>

<style scoped>
 
    
</style>
